package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Inucleic;
import com.xxxx.server.pojo.Snucleic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学生核酸登记登记表 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-04
 */
public interface SnucleicMapper extends BaseMapper<Snucleic> {

    IPage<Snucleic> getSnucleicByPage(Page<Snucleic> page,
                                      @Param("snucleic") Snucleic snucleic,
                                      @Param("beginDateScope") String[] beginDateScope, @Param("type") int type,
                                      @Param("collegeName") String collegeName, @Param("collegeid") int collegeid, @Param("classid") int classid,@Param("classname") String classname);


    List<Snucleic> getSnucleicSeachList(@Param("snucleic") Snucleic snucleic,
                                        @Param("beginDateScope") String[] beginDateScope,
                                        @Param("type") int type,
                                        @Param("collegeName") String collegeName,
                                        @Param("collegeid") int collegeid,@Param("classid") int classid,@Param("classname") String classname);

}
